<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Departmentid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-departmentid" data-rule="required" class="form-control" name="row[departmentid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Parentid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parentid" data-rule="required" class="form-control" name="row[parentid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order" class="form-control" name="row[order]" type="text" value="'0'">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Createdeptgroup')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-createdeptgroup" class="form-control selectpicker" name="row[createdeptgroup]">
                {foreach name="createdeptgroupList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Autoadduser')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-autoadduser" class="form-control selectpicker" name="row[autoadduser]">
                {foreach name="autoadduserList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Depthiding')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-depthiding" class="form-control selectpicker" name="row[depthiding]">
                {foreach name="depthidingList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deptperimits')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deptperimits" class="form-control" name="row[deptperimits]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deptpermits')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deptpermits" class="form-control" name="row[deptpermits]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Userperimits')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userperimits" class="form-control" name="row[userperimits]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Userpermits')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userpermits" class="form-control" name="row[userpermits]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Outerdept')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-outerdept" class="form-control selectpicker" name="row[outerdept]">
                {foreach name="outerdeptList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Outerpermitdepts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-outerpermitdepts" class="form-control" name="row[outerpermitdepts]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Outerpermitusers')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-outerpermitusers" class="form-control" name="row[outerpermitusers]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Orgdeptowner')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-orgdeptowner" class="form-control" name="row[orgdeptowner]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deptmanageruseridlist')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deptmanageruseridlist" class="form-control" name="row[deptmanageruseridlist]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sourceidentifier')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sourceidentifier" class="form-control" name="row[sourceidentifier]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Groupcontainsubdept')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-groupcontainsubdept" class="form-control" name="row[groupcontainsubdept]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deptgroupchatid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deptgroupchatid" class="form-control" name="row[deptgroupchatid]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ext')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ext" class="form-control" name="row[ext]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="'normal'"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Csmadmin_depart_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-csmadmin_depart_id" data-rule="required" data-source="csmadmin/depart/index" class="form-control selectpage" name="row[csmadmin_depart_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b1" class="form-control" name="row[b1]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b2" class="form-control" name="row[b2]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b3" class="form-control" name="row[b3]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b4" class="form-control" name="row[b4]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b5" class="form-control" name="row[b5]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B6')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b6" class="form-control" name="row[b6]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B7')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b7" class="form-control" name="row[b7]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B8')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b8" class="form-control" name="row[b8]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B9')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b9" class="form-control" name="row[b9]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remoteversion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remoteversion" class="form-control" name="row[remoteversion]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
